package com.banyechan.lingo_words.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_english_word")
public class EnglishWord  extends Model<EnglishWord> {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "word")
    private String word;

    @TableField(value = "ipa")
    private String ipa;

    @TableField(value = "sampa")
    private String sampa;

    @TableField(value = "chinese_mean")
    private String chineseMean;

    @TableField(value = "master_flag")
    private Boolean masterFlag;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;

}
